package com.tofch.apibacked.model.enums;

import org.apache.commons.lang3.ObjectUtils;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * 接口信息枚举
 *
 */

public enum InterfaceStatusEnum {

    OFFLINE("下线", 0),
    ONLINE("发布", 1);


    private final String text;

    private final int value;

    InterfaceStatusEnum(String text, int value) {
        this.text = text;
        this.value = value;
    }


    public int getValue() {
        return value;
    }

    public String getText() {
        return text;
    }
}
